package com.happy.film.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author wei.zhang
 * @since 2020-03-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_film")
public class Film implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId("film_id")
    private String filmId;

    @TableField("title")
    private String title;

    @TableField("description")
    private String description;

    @TableField("language_id")
    private Integer languageId;

    @TableField("original_language_id")
    private Integer originalLanguageId;

    /**
     * 原始链接
     */
    @TableField("original_url")
    private String originalUrl;

    @TableField("original_id")
    private String originalId;

    /**
     * 高清地址
     */
    @TableField("highVideoUrl")
    private String highVideoUrl;

    /**
     * 低清地址
     */
    @TableField("lowVideoUrl")
    private String lowVideoUrl;

    /**
     * 热点视频m3u
     */
    @TableField("hlsVideoUrl")
    private String hlsVideoUrl;

    /**
     * 缩略图
     */
    @TableField("thumburl")
    private String thumburl;

    @TableField("thumburl169")
    private String thumburl169;

    /**
     * 缩略大图
     */
    @TableField("thumbSlideBig")
    private String thumbSlideBig;

    @TableField("thumbSlide")
    private String thumbSlide;

    @TableField("viewed")
    private Long viewed;

    /**
     * 好评
     */
    @TableField("goodrating")
    private Long goodrating;

    /**
     * 差评
     */
    @TableField("badrating")
    private Long badrating;

    @TableField("uploaduser")
    private String uploaduser;

    /**
     * 时长
     */
    @TableField("duration")
    private String duration;

    /**
     * 时长秒
     */
    @TableField("duration_seconds")
    private Integer durationSeconds;

    /**
     * 标签
     */
    @TableField("tags")
    private String tags;

    /**
     * 分类
     */
    @TableField("classify")
    private String classify;

    /**
     * 热推
     */
    @TableField("recommend")
    private String recommend;

    @TableField("last_update")
    private LocalDateTime lastUpdate;

    /**
     * 附加字段
     */
    @TableField("cutom1")
    private String cutom1;

    /**
     * 附加字段
     */
    @TableField("cutom2")
    private String cutom2;

    /**
     * 附加字段
     */
    @TableField("cutom3")
    private String cutom3;

    /**
     * 附加字段
     */
    @TableField("cutom4")
    private String cutom4;


}
